﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CustomTypes.Interfaces.Structure;

namespace CSharpParser.Structure
{

    [System.Diagnostics.DebuggerDisplay("Parameter : {Name}")]
    [Serializable]
    public class ParameterCSharpStructure : MemberCSharpStructure, IParameterStructure
    {

        public ParameterCSharpStructure(IMemberStructure parent, string name)
            : base(parent, name, name)
        {

        }


        public IMemberStructure Type { get; set; }

        public bool IsOut { get; set; }

        public bool IsRef { get; set; }

        public bool IsIn { get; set; }

        public bool IsOptional { get; set; }

        public bool IsThis { get; set; }

        public bool IsParams { get; set; }
    }

}
